﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace ContractSingTowerMall
{
   
    [ServiceContract]
    public interface IShoppingMallService
    {
        [OperationContract]
        ShoppingMall GetShoppingMallDetails();

    }

    
   [DataContract]
    public class ShoppingMall
    {
        string name;

        [DataMember(IsRequired = true)]
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        string address;

        [DataMember(IsRequired = true)]
        public string Address
        {
            get { return address; }
            set { address = value; }
        }
        string contactNo;

        [DataMember(IsRequired = true)]
        public string ContactNo
        {
            get { return contactNo; }
            set { contactNo = value; }
        }
    }
}
